package com.wz.wzliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wz.wzliving.commodity.vo.SpuSaveVO;
import com.wzcommon.utils.PageUtils;
import com.wzcommon.utils.R;
import com.wz.wzliving.commodity.entity.SpuInfoEntity;

import java.util.Map;

/**
 * 商品 spu 信息
 *
 * @author wangzeng
 * @email 3107187288@qq.com
 * @date 2025-04-04 11:17:49
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    //保存到表
    void saveSpuInfo(SpuSaveVO spuSaveVO);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);
    PageUtils queryPageByCondition(Map<String, Object> params);
    void up(Long spuId);
    void down(Long spuId);
}

